package com.ruoyi.dl.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 异常管理对象 dl_abnormal
 * 
 * @author ruoyi
 * @date 2020-12-28
 */
public class DlAbnormal extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Integer id;

    /** 发信息人id */
    @Excel(name = "发信息人id")
    private Integer userId;

    /** 图片 */
    @Excel(name = "图片")
    private String img;

    /** 发信息人名称 */
    @Excel(name = "发信息人名称")
    private String userName;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String ordersNumber;

    private DlUser dlUser;

    public DlUser getDlUser() {
        return dlUser;
    }

    public void setDlUser(DlUser dlUser) {
        this.dlUser = dlUser;
    }

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setOrdersNumber(String ordersNumber) 
    {
        this.ordersNumber = ordersNumber;
    }

    public String getOrdersNumber() 
    {
        return ordersNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("userId", getUserId())
            .append("remark", getRemark())
            .append("img", getImg())
            .append("userName", getUserName())
            .append("ordersNumber", getOrdersNumber())
            .toString();
    }
}
